package com.powerunion.datacollection.workflow.util.observer;

public class StockAlert extends ObserverImp {

	public StockAlert(){
		
	}
	
	public void dealEvent(AbleImp ableImp, Object observedObj) {
		Stock stock = (Stock)ableImp;
		System.out.println("the stock's price is:"+stock.getPrice());
		System.out.println("observedObj:"+observedObj.toString());
		System.out.println("send a sms to customer...");
	}

}
